package com.example.shiroredis.entity.base;

/**
 * @Author: hwz
 * @Date: 2018/6/25
 */
public final class ServiceCode {

    // OK
    public static final int OK = 200;
    // 异常
    public static final int EXCEPTION = 1000;
    // 参数错误
    public static final int PARAM_ERROR = 1001;
    // 数据查找失败
    public static final int NO_DATA = 1002;
    // 超时错误
    public static final int TIMEOUT = 1003;
    // 数据操作失败
    public static final int DATABASE_ERROR = 1004;
    // 未知错误
    public static final int UNKNOWN_ERROR = 1005;
    // 用户不存在
    public static final int USER_EXCEPTION = 2001;
    // 用户未登录
    public static final int NOT_LOGIN = 2002;

}
